package com.yami.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.model.ShopPayWxSetting;

/**
 * 店铺微信支付设置Service
 */
public interface ShopPayWxSettingService extends IService<ShopPayWxSetting> {
    /**
     * 获取店铺微信支付设置
     * @param shopId 店铺ID
     * @return 店铺微信支付设置
     */
    ShopPayWxSetting getShopPayWxSetting(Long shopId);

    /**
     * 更新店铺微信支付设置
     * @param shopPayWxSetting 店铺微信支付设置
     */
    void updateShopPayWxSetting(ShopPayWxSetting shopPayWxSetting);
    
    /**
     * 更新提现方式
     * @param shopId 店铺ID
     * @param withdrawalMethod 提现方式
     */
    void updateWithdrawalMethod(Long shopId, Integer withdrawalMethod);
} 